BACKDROP ON

This command will activate a 3D backdrop that fills the visible screen.

  Syntax
BACKDROP ON
BACKDROP ON Camera Number
  Parameters
Camera Number
Integer
The camera number

  Returns

This command does not return a value.

  Description

The backdrop is automatically activated the first time any 3D object is created or loaded in order to clear the background screen. The backdrop can also be colored, textured and scrolled to create the effects of sky or other background effects. If you wish to set-up the backdrop before creating your objects, use this command to activate it.

  Example Code
autocam on
make matrix 1,4000,4000,100,100
set matrix height 1,50,50,500
update matrix 1
backdrop on
color backdrop rgb(128,0,0)
while inkey$()<>"x"
set cursor 0,0
print "angle x:";camera angle x(0)
print "angle y:";camera angle y(0)
print "angle z:";camera angle z(0)
print "position x:";camera position x(0)
print "position y:";camera position y(0)
print "position z:";camera position z(0)
x#=x#+mousemovey() : y#=y#+mousemovex() : rotate camera 0,x#,y#,0
endwhile
backdrop off
delete matrix 1
autocam off
end
  See also

CAMERA Commands Menu
Index